package com.sth.edu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sth.edu.entity.Course;
import com.sth.edu.entity.vo.CoursePublishVo;
import com.sth.edu.entity.vo.CourseWebVo;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author sth
 * @since 2020-12-05
 */
public interface CourseMapper extends BaseMapper<Course> {
    public CoursePublishVo getPublishCourseInfo(String courseId);

    // 根据课程id 查询课程信息
    CourseWebVo getBaseCourseInfo(String courseId);
}
